#ifndef WATCH_CONTROLLER_H_
#define WATCH_CONTROLLER_H_

#include "Watch_View.h"
#include "I2C_BM8563.h"
// #define I2C_BM8563_DEFAULT_ADDRESS 0x51

class WatchController
{
public:
    WatchController(/* args */);
    ~WatchController();

    void init();
    void onViewLoad();
    void onViewDisappear();

private:
    // TimerModel model;  // class
    I2C_BM8563_DateTypeDef dateStruct;
    I2C_BM8563_TimeTypeDef timeStruct;
   
    // lv_anim_t anim;
    WatchView view;
    lv_timer_t *updateTimer; // variables
    // lv_timer_t *tickTimer;

private:
    void update();
    // void updateSegLabel();
    void deleteTimer();
};

#endif